package top.hesisi.springboot3.annotation;


import java.lang.annotation.*;


//保管注解到运行时
@Retention(RetentionPolicy.RUNTIME)
//只能在方法上使用
@Target({ElementType.METHOD})
@Documented
public @interface Limit {
    String key() default "";

    int timeout() default 10;

    String message() default "操作过于频繁,请稍后再试";

}
